package com.none.staff.net;

import com.none.staff.model.ConfigBean;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Streaming;
import retrofit2.http.Url;

public interface RedApiServer {

    @GET()
    Call<ConfigBean> getConfig(@Url String url);

    @Streaming //大文件时要加不然会oom
    @GET
    Call<ResponseBody> downLoadApkFile(@Url String url);


    @Streaming
    @GET
    Call<ResponseBody> downloadClientPackage(@Url String resUrl);


}
